import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './muse'

import Toast from 'muse-ui-toast'

export const version = 'v1.3.1'

Vue.prototype.$report = function(err) {
  console.error(err)
  const msg = err.msg || '未知错误'
  Toast.error('错误：' + msg)
}

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
